const getters= {
    token:state=>state.user.token,
    avatar:state=>state.user.avatar,
    username:state=>state.user.name,
    roles:state=>state.user.roles,
    name:state=>state.user.name,
    userId:state=>state.user.userId,
    email:state=>state.user.email,
    introduce:state=>state.user.introduce,
    sex:state=>state.user.sex,
    phoneNumber:state=>state.user.phoneNumber,
    regTime:state=>state.user.regTime,
    lastUpdateTime:state=>state.user.lastUpdateTime,
    backgroundImg:state=>state.user.backgroundImg
}
export default getters